package com.zlf.the.visitor;

import com.zlf.the.visitor.opter.ComputerPart;
import com.zlf.the.visitor.opter.impl.Computer;
import com.zlf.the.visitor.visitor.impl.ComputerPartDisplayVisitor;

public class VisitorPatternDemo {
		public static void main(String[] args) {

				ComputerPart computer = new Computer();
				computer.accept(new ComputerPartDisplayVisitor());
		}
}

